﻿using System;
using Castle.ActiveRecord;
using Castle.ActiveRecord.Queries;
using WCell.Constants;
using WCell.Core.Initialization;
using WCell.Util.Threading;
using WCell.RealmServer.Database;
using WCell.RealmServer.Entities;
using WCell.RealmServer.Global;

namespace Kingdoms
{
    [ActiveRecord]
	public partial class GuildExtension : ActiveRecordBase<GuildExtension>
    {
        private uint id;
        private int guildpoints;
        private int readaccess;
        private int writeaccess;

        [PrimaryKey]
        public uint Id
        {
            get { return id; }
            set { id = value; }
        }

        [Property]
        public int GuildPoints
        {
            get { return guildpoints; }
            set { guildpoints = value; }
        }

        [Property]
        public int ReadAccess
        {
            get { return readaccess; }
            set { readaccess = value; }
        }

        [Property]
        public int WriteAccess
        {
            get { return writeaccess; }
            set { writeaccess = value; }
        }
    }
}
